package com.carkeeper.bill;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = {"com.carkeeper.subject.feign"})
@MapperScan(basePackages = "com.carkeeper.bill.dao")
@EnableSwagger2     //开启swagger
@ComponentScan(basePackages = "com.carkeeper")
public class ServiceBillApplication {

    public static void main(String[] args) {

        SpringApplication.run(ServiceBillApplication.class,args);
    }
}
